package homeWork;

import java.util.Random;

public class Demo02 {
    public static void main(String[] args) {
        int max = getMax(33, 44, 11);
        System.out.println("最大值是" + max);
    }
    public static int getMax(int a ,int b ,int c) {
        if (a > b && a > c) {
            return a;
        } else if (b > a && b > c) {
            return b;
        } else {
            return c;
        }
    }}